﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<agent02.Model.ProfileModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Edit</h2>
    <% using (Html.BeginForm())
       {%>
        <%: Html.ValidationSummary(true)%>
    <table>
        <tr>
            <td>
                Họ Tên
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.HoTen)%>
            </td>
        </tr>
        <tr>
            <td>
                CMND
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.CMND)%>
            </td>
        </tr>
        <tr>
            <td>
                Địa Chỉ 
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.DiaChi)%>
            </td>
        </tr>
        <tr>
            <td>
                Email
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.Email)%>
            </td>
        </tr>
        <tr>
            <td>
                Số Điện Thoại 
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.SDT)%>
            </td>
        </tr>
        <tr>
            <td>
                Tài Khoản Ngân Hàng 
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.TaiKhoanNganHang)%>
            </td>
        </tr>
        <tr>
            <td>
                Tên Ngân Hàng
            </td>
            <td>
                <%: Html.TextBoxFor(m => m.khachHang.TenNganHang)%>
            </td>
        </tr>
        <tr>
            <td><input type="submit" value="Lưu" /></td>
        </tr>
    </table>
    <% } %>
</asp:Content>
